.class public Lcom/waiqin365/lightapp/im/widget/ExpandGridViewWithHeaderAndFooter;
.super Lcom/waiqin365/lightapp/view/GridViewWithHeaderAndFooter;


# instance fields
.field private b:Lcom/waiqin365/lightapp/im/widget/b;

.field private final c:I


# direct methods
.method public constructor <init>(Landroid/content/Context;)V
    .locals 1

    invoke-direct {p0, p1}, Lcom/waiqin365/lightapp/view/GridViewWithHeaderAndFooter;-><init>(Landroid/content/Context;)V

    const/4 v0, -0x1

    iput v0, p0, Lcom/waiqin365/lightapp/im/widget/ExpandGridViewWithHeaderAndFooter;->c:I

    return-void
.end method

.method public constructor <init>(Landroid/content/Context;Landroid/util/AttributeSet;)V
    .locals 1

    invoke-direct {p0, p1, p2}, Lcom/waiqin365/lightapp/view/GridViewWithHeaderAndFooter;-><init>(Landroid/content/Context;Landroid/util/AttributeSet;)V

    const/4 v0, -0x1

    iput v0, p0, Lcom/waiqin365/lightapp/im/widget/ExpandGridViewWithHeaderAndFooter;->c:I

    return-void
.end method


# virtual methods
.method public onTouchEvent(Landroid/view/MotionEvent;)Z
    .locals 2

    const/4 v0, 0x1

    iget-object v1, p0, Lcom/waiqin365/lightapp/im/widget/ExpandGridViewWithHeaderAndFooter;->b:Lcom/waiqin365/lightapp/im/widget/b;

    if-eqz v1, :cond_3

    invoke-virtual {p0}, Lcom/waiqin365/lightapp/im/widget/ExpandGridViewWithHeaderAndFooter;->isEnabled()Z

    move-result v1

    if-nez v1, :cond_2

    invoke-virtual {p0}, Lcom/waiqin365/lightapp/im/widget/ExpandGridViewWithHeaderAndFooter;->isClickable()Z

    move-result v1

    if-nez v1, :cond_0

    invoke-virtual {p0}, Lcom/waiqin365/lightapp/im/widget/ExpandGridViewWithHeaderAndFooter;->isLongClickable()Z

    move-result v1

    if-eqz v1, :cond_1

    :cond_0
    :goto_0
    return v0

    :cond_1
    const/4 v0, 0x0

    goto :goto_0

    :cond_2
    invoke-virtual {p1}, Landroid/view/MotionEvent;->getActionMasked()I

    move-result v1

    if-ne v1, v0, :cond_3

    invoke-virtual {p1}, Landroid/view/MotionEvent;->getX()F

    move-result v0

    float-to-int v0, v0

    invoke-virtual {p1}, Landroid/view/MotionEvent;->getY()F

    move-result v1

    float-to-int v1, v1

    invoke-virtual {p0, v0, v1}, Lcom/waiqin365/lightapp/im/widget/ExpandGridViewWithHeaderAndFooter;->pointToPosition(II)I

    move-result v0

    const/4 v1, -0x1

    if-ne v0, v1, :cond_3

    iget-object v0, p0, Lcom/waiqin365/lightapp/im/widget/ExpandGridViewWithHeaderAndFooter;->b:Lcom/waiqin365/lightapp/im/widget/b;

    invoke-interface {v0}, Lcom/waiqin365/lightapp/im/widget/b;->a()Z

    move-result v0

    goto :goto_0

    :cond_3
    invoke-super {p0, p1}, Lcom/waiqin365/lightapp/view/GridViewWithHeaderAndFooter;->onTouchEvent(Landroid/view/MotionEvent;)Z

    move-result v0

    goto :goto_0
.end method

.method public setOnTouchBlankPositionListener(Lcom/waiqin365/lightapp/im/widget/b;)V
    .locals 0

    iput-object p1, p0, Lcom/waiqin365/lightapp/im/widget/ExpandGridViewWithHeaderAndFooter;->b:Lcom/waiqin365/lightapp/im/widget/b;

    return-void
.end method
